package com.datang.petstore.exception;/*
* @auther 顶风少年 
* @mail dfsn19970313@foxmail.com
* @date 2019-10-10 12:01
* @notify 
* @version 1.0
*/

import com.datang.petstore.resultpage.ResultCode;

public class AcceptResultCodeException extends RuntimeException {

    private ResultCode resultCode;

    public AcceptResultCodeException(ResultCode resultCode){
        this.resultCode = resultCode;
    }

    public ResultCode getResultCode() {
        return resultCode;
    }

    public void setResultCode(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
